from bitfinex.client import Client
from bitfinex.client import TradeClient

# client = Client()
# symbols = client.symbols()
# print(client.lendbook('btc'))
# print(client.frr('btc'))

key = '5TPtV4osYbxMhFy0l3zJPWQTfhRuIOa128hS2fVsO1I'
secret = 'Gyq3ZjOogmLNN46o0CftLcjhmYGqqskTjWvMq5uz8Hx'

tradeClient = TradeClient(key, secret)

print(tradeClient.balances())
print(tradeClient.history_profit('btc'))
# print(tradeClient.place_offer('btc', '0.06', '20.2', 2, 'lend'))